<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title></title>
    <style type="text/css">
        *{
            padding: 0;
            margin: 0;
        }
        #box{
            width: 550px;
            height: 400px;
            box-shadow: 1px 1px 4px #2B669A;
            overflow: hidden;
            margin: 80px auto;
            text-align: center;
            font-size: 20px;
        }
        #box h3{
            font-size: 40px;
            margin-top: 40px;
            margin-bottom: 40px;
        }
        #name,#password{
            width: 200px;
            height: 20px;
            margin-bottom: 20px;
        }
        #login_but,#register_but{
            margin-top: 20px;
            margin-left: 50px;
            padding: 10px 30px;
            border: 1px #000000 solid;
            background-color: white;
            border-radius: 4px;
        }
        #login_but:hover,#register_but:hover{
            border: 1px white solid;
            background-color: rgb(22,155,213);
            color: white;
        }
        #error_news{
            color: #c7254e;
            font-size: 14px;
        }
    </style>
</head>
<body>
<div id="box">
    <form method="post" action="">
        {{ csrf_field() }}
        <h3>移动大数据云平台</h3>
        账号：<input type="text" id="name" placeholder="请输入账户名" name="username" /><br/>
        密码：<input type="password" id="password" name="password" /><br/>

        @if(session('error'))
        <p id="error_news">{{session('error')}}</p>
        @endif
        <button type="submit" id="login_but">登录</button>
    </form>
</div>
</body>
</html>

